package eteam.aps.model.export.model;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDate;

/**
 * ClassName OutboundOrdersExport
 *
 * @author Ll
 * @since 2025/5/28
 * Description 发货出库单
 */
@Setter
@Getter
@ApiModel("发货出库单")
public class OutboundOrdersExport {
    @ApiModelProperty("序号")
    @ExcelProperty(value = "序号", index = 0)
    private int sort;
    @ApiModelProperty("电子流")
    @ExcelProperty(value = "电子流", index = 1)
    private String electronFlow;
    @ApiModelProperty("合同号")
    @ExcelProperty(value = "合同号", index = 2)
    private String contractNumber;
    @ApiModelProperty("编码")
    @ExcelProperty(value = "编码", index = 3)
    private String invCode;
    @ApiModelProperty("产品型号")
    @ExcelProperty(value = "产品型号", index = 4)
    private String invStd;
    @ApiModelProperty("目的地")
    @ExcelProperty(value = "目的地", index = 5)
    private String destination;
    @ApiModelProperty("发货时间")
    @ExcelProperty(value = "发货时间", index = 6)
    private LocalDate sendDate;
    @ApiModelProperty("数量")
    @ExcelProperty(value = "数量", index = 7)
    private int sendNum = 1;
    @ApiModelProperty("单位")
    @ExcelProperty(value = "单位", index = 8)
    private String unit;
    @ApiModelProperty("包装方式")
    @ExcelProperty(value = "包装方式", index = 9)
    private String packageType;
    @ApiModelProperty("物流方式")
    @ExcelProperty(value = "物流方式", index = 10)
    private String logistics;
    @ApiModelProperty("单号")
    @ExcelProperty(value = "单号", index = 11)
    private String orderNumber;
    @ApiModelProperty("备注")
    @ExcelProperty(value = "备注", index = 12)
    private String remark;
    @JsonIgnore
    @ExcelIgnore
    @ApiModelProperty("发货人")
    private String shipper;
}
